package com.woniuxy.microfixeddepositserver.feign;

import com.woniuxy.bean.BillBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: masterhai
 * @date: 2021/4/14:20:31
 * @description:
 */
@FeignClient(value = "cd-finance-micro-wallet-server")
public interface WalletFeign {
    @PostMapping(value = "/bill/createFakeOrder", produces = MediaType.APPLICATION_JSON_VALUE)
     String createFakeOrder (@RequestBody BillBean billBean);
}
